#include <stdio.h>
#include <stdlib.h>

struct node {
    char *type;
    char *method;
};

extern "C" {
static struct node M_nodes[] = {
    {"1", "2"},
    {"2", "3"},
    {"4", "5"}
};
}

int main(int argc, const char *argv[])
{
    printf("%d\n", sizeof(M_nodes)/sizeof(struct node));
        
    return 0;
}
